package com.by.order.api.service;

import com.by.order.api.vo.OrderVo;

public interface IOrderService {


    // 秒杀创建订单
    OrderVo seckillCreateOrder(Long userId, Long goodsId);

    // 查询订单详情
    OrderVo getOrderById(Long orderId);

    // 支付订单
    boolean payOrder(Long orderId);

    // 取消订单
    boolean cancelOrder(Long orderId);

}